|
|
<DIV id=list>3 K" _4 N; l- } N) s6 r" n* G& P
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>" G: S% Y/ r6 [) \- R
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>+ _, J. x5 E! x4 U- b
<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>+ j4 e$ z' U/ i( d$ a
<DIV id=lrc3 style="COLOR: #666666"></DIV>
. J# s& o3 H8 m/ p1 Y9 w7 l<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>! n* m3 _6 w( L% U* }9 y# O- b
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>" L: T+ [5 W0 _9 i/ _8 \& C( e
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>3 M# @2 i- H' a0 ~
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>
5 Q# Y0 A/ z9 v1 A<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
3 U2 f) N, |6 Z- ?9 Y' q3 h<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
8 p$ A; {4 N/ O7 X<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
. S0 K; N7 }. @% ~7 j6 _2 m<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>% h1 Q Z) v6 H
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>) c. v; O5 W8 }, S9 x' b7 D
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
1 _9 N* q. J5 G, u) ~, R<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
4 S! ~" [5 m* c& L9 k<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>2 \5 k$ T T) \; L& X& K
<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
. v% J" q# F: F6 e: H) x<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>7 r# C7 o& [4 V
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
& {2 }2 A6 x# u6 r5 q: ?7 T0 |3 V<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>4 l T# X* X- i- d9 b4 u
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV># x5 `, `) @" }* T6 L# t4 `. G& C
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV># @5 F( b; c+ D- r% v9 Y7 s
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>
( W) Y* \7 O! T+ K$ i+ y<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>6 c* e* H. x% x3 x6 _; {
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>/ M3 @0 Y, m0 I* Y. @! |- V* }' I
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
3 M7 [* H- [" T5 ?+ c+ G% C<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>1 o4 [' L& p/ s6 `2 Z
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
* w" {1 ]2 }, [<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>" s: ^: x' [1 W+ v" e/ f
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>. x8 k, T! q$ K6 J) b: t
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>2 O8 }! m+ a: k! v* G
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV># u* t% r9 J3 e5 z. x- J1 Z. Z+ L" v c
<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV> H5 b7 r& X$ o/ }8 I/ j
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>& A# a/ X" H- T- X: P* q, y' T
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV># a ] P# g. _! X3 }! O( ~
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
, k+ p% `* B3 d; H' y T<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>" E+ M( X( i% U6 K$ s
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>5 G1 L k6 E& Q0 g- h
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>. G& I( G8 W1 ?: ~" l) k) ?
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>
. N8 ^ P0 {# ?3 ~' `<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>
9 ], ?$ N% g. r+ f3 j: }<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
0 o# c" s9 |' c/ b$ p `; O<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>9 g# h( p, I3 b
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
2 s( j) j8 N0 b; ?7 P4 i4 l<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV># P3 }1 ?; a8 i$ d3 L0 W
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>% A3 j H, g' ]
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>
; d3 }- z$ O( }- i+ ?: f<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>
' B8 Z. O6 {3 o5 b, _1 Q" W<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>- {. P% v7 \; i5 O3 M4 D8 }8 _
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>5 b4 w( E5 W% p2 g; E7 b% t$ q) w
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
# n' _6 u) N+ U0 z<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>( x- h; X0 |; ?; Q% Y6 J- r
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>& f4 m) S5 h; N4 s9 W
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
6 y! e# p% ~( F8 V D9 h6 W& t! ?<DIV id=lrc style="DISPLAY: none"></DIV>
7 |) t, f9 n% D- s<SCRIPT type=text/javascript>
! ^0 g4 F4 j* A- M# m+ Bdocument.domain="1ting.com";
( O: R4 E9 l- T7 {( P1 Fvar colorPasted="#666666";
2 [: J: O5 S. \ Qvar colorPlaying="#ff3300";8 A% g- T. C. \) X
var colorNormal="#000000";
, ^" o H" S( {) v& Y% g5 p/ n0 |$ = function (a,g){
, o6 j9 o! L3 D4 E8 K) L- ? var o = new Array(); ; }, Z y% a4 i$ N1 W
var c = new Array(); & n# z6 o1 D e& l- U3 ~" l/ v, C
var r; $ O I0 m, P0 s5 T. M0 H
var u; 5 \0 t) ~0 t Z; V9 q
var a = a.split(';'); " ?+ `; @5 l. W
& k- P, ? {4 A: y4 Z var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
9 s& |* P$ N) f$ ]2 x: S- L& p for(var i=0;i<e.length;i++){3 s0 ~. a% c, z0 O' r! g
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
- w% w c3 [; n) X Q6 L }8 {: W8 w1 U) s# K4 I5 q$ Q
! [- _7 e1 ^5 _3 ~( u4 X, ~" @, c after = function (t,d,s){- T, D0 S% m" u2 F/ c
$after = function (){0 w! W& E" C) V. l1 c
var $n=document.createElement(t);) ]- x* @ b/ e4 ?
if(d!=null){, V w) {$ M4 {' ?+ u
$n.id=d; F+ S, N/ L) ?& S0 Z# n& C# j
}
6 i8 r5 F/ N/ p* x ; T+ `1 I" u# \! R
u.insertBefore($n,null) + N/ u' e$ I. N9 W5 x
r = $n;
r" F# }# c7 [5 g u = $n; ! Y6 E, `9 z L2 \* @
}
, H' x v4 G6 V! p- F$ T $for(s,"$after")
6 x$ t/ X9 w2 P$ H: t6 n7 N6 t }
+ Z: L+ ~9 S5 R$ A, A1 [6 }/ T2 P# }8 Q2 Y. [3 I% o
show = function (s){2 r' @- w; U, ?
$show = function (){0 w' D8 G+ s9 t& }0 y% ]
u.style.display!="none" ? style("display:none") : style("display:block") ;# ~ B8 d$ T, ]) s
}
1 \! z, L: K( p; `. d9 O $for(s,"$show")
* X+ B! F$ Q- N% Z }( D, z3 R/ p4 L3 ^) D: {
2 ?; h1 V+ ^! l7 q/ N: _ check = function (t,s){3 B: \1 C, L3 |# u. M. o/ t
$check = function (){
) `9 Y. n4 D F& p3 t/ r if(t=="2"){. c7 _4 i1 B( e
if(u.checked){
# ^/ [/ y4 r. z u.checked = false;
, P# c. }1 O* t1 G3 u; d }else{
$ R1 B" W& C$ q u.checked = true;
3 K7 z4 @5 G2 w+ ]. k: ?% S }
% B2 r3 T) @( i) k }else{
4 R. v1 q/ S3 C( A4 N2 q u.checked = t*1 ;
6 P1 j. z; q# s" v }8 {$ k7 x; Q3 s8 L+ s" [8 ]. T
}
: t( X- ]- A2 q4 M& ~* V! t $for(s,"$check")
2 p" T: A. T3 R8 } }" b, o3 X) Y/ n* B3 u! p5 e0 j+ ~
' x" C& c! W( Q style = function (v,s){
& Z- z6 W% H s8 ~( I4 ? $style = function (){" S6 I) m7 S+ _6 }# }" v
var $n = v.split(",")
0 Y: R2 ]' [. b5 ? for (var i=0;i<$n.length;i++ ){4 u; O f, O1 A( v
var $m = $n<i>.split(":")
; O, s& a/ y0 f6 g4 y eval("u.style."+$m[0]+"='"+$m[1]+"'");
# s/ W: h+ B( R2 i }' {8 Y: g }. n# c: m
}
: H% y9 Z9 Y% j/ Z3 f $for(s,"$style")
1 g! k1 J4 c4 m3 z, j }/ j; S* e2 ] w( o; `+ S. S6 D
; t8 @5 e* N3 t+ w1 J5 U9 X! {
value = function (v,s){% Y" F+ N* ?* b
var $n= $this (v);
, o6 f" n5 [" V( L; J% K $value = function (){
3 `0 V3 j7 a! z" V u.value = $n+ [2 h" M' e: L, q
}
$ G! }- Z6 j( ^8 J1 q $for(s,"$value") ) ?+ l' b3 D5 v: L' H6 m
}, k7 v0 y6 \4 U" q' H( t3 U
" H( l* z( x& ~3 {( V& w text = function (v,s){
( W8 D* }9 \( D' N var $n= $this (v);! w0 d' j4 d. h$ V4 u; F
$text = function (){
) o# P1 |4 J" W# u- O- f! z% Z 4 T/ k7 n! W% {; V7 f+ U2 n+ ]5 z
u.text = $n) Z; h! E, M$ L9 S0 J: Y0 i
}, N7 R& t7 i+ j0 ]' q8 j
$for(s,"$text")
9 r3 [5 J7 g! j/ `* A8 V; h }
/ X% v1 D* j9 Q4 k
9 _# Q" t" ]. O6 z innerhtml = function (v,s){
" T8 w V/ U( M2 q5 o+ L var $n= $this (v);* O1 U, z' b1 j# T' f# ]
$innerhtml = function (){
* O$ t4 }* h& Z% G" R u.innerHTML = $n# k8 u# p7 W. t
}
/ ^( \2 ?, b1 R( J $for(s,"$innerhtml")3 B U% L9 y2 L
}9 j# R0 y t6 F/ N+ l% }# g: s
5 Q2 `% E. c* h/ |/ H7 O, i
removechild = function (s){
) b E8 r w: l! c $removechild = function (){
( [2 B0 u) E3 m) @ u.parentNode.removeChild(u)( l f+ }9 b2 P `" A
}- H# @# m( b* W& X
$for(s,"$removechild")' ~% M6 \. V: P1 K, s
}' h- D$ y! A7 z: t- \- g
; `+ k2 _5 [6 L( @6 x
$this =function(v){
" d5 b* K2 k) n" m+ I/ T if(v.indexOf("this") == 0){* L. P" q# O0 G, e! a& l% G2 p
return eval(v.replace("this","u"))
: F+ S: s4 r+ V2 ^; n9 M# V! s5 @$ m }( ]) S- }# u, I A" b: i! e# z
return v;
4 |) b& s: a. y5 V3 C7 C }
) q0 O) }2 `; S! X3 `2 |' G" V: @
! ]+ W* n6 U. O1 j' e: g $event = function (s){4 [; g' l' q+ h' c! n
var $n ="u."+s+" = function(){$work(this,s);}": R3 {/ K9 {( `0 e5 Q
return $n;2 L ?( o) W2 M# s) h! G
}+ l& Z* ^. Y1 B3 `6 a& `' o" G( G1 D
6 D" O3 D- r! i* l' G
$replace = function (s){
& |6 U& Y4 ^/ t2 [ m0 u
! a. [7 l) f; ], v% f# ]0 ` }* H7 A. V: P* r' m2 m% Z% k
7 M& \% Q# E+ N3 @8 X $for = function (s,c){
0 D7 f1 d# V M5 W; a var $n="this."+c+"()" ;
) c7 [! p: K) b if(s!=null){0 Q7 w/ U' o# v1 s
var $m =$test(s);! E6 R/ Y9 D& ^) z" J' q
for (var i=0;i<$m.length ;i++ ){$ H" p* |8 Y. Z( ?8 f9 F/ y
u = $m<i>;
- q$ b" n/ Z; q) ~0 E- j; q eval($n);( j j% R( u) [9 @; S
}3 O; q3 O0 |6 E6 `! R7 D; j3 i
}3 _+ d! r1 k( a$ F8 N7 u1 w
else{. S; o2 u; F: O& r. o$ r
eval($n);
- c8 o3 n' [* Q }7 B, s' [$ T5 i9 z4 K
}
; _* h k1 R, G* ]
2 G0 @: F) p/ M: ~5 @' t $test = function (a){
m* g' z! S4 v/ W% B) d! }1 m var o = new Array();$o(a.split(';'),o);) e' x6 `: e- f. [- l/ X) @
return o;4 T% i% J" ?7 h) m/ T- Z
}9 `6 K3 R8 x0 t. I
$ J5 q# M9 B! V2 z6 Q
$format = function(s){7 C% D! X2 g h5 z
while (s.indexOf("'")>0){0 U h$ t I8 S2 h
s=s.replace("'","\"");
( O0 x) P$ d5 u: s p! \, I: X }6 V: X/ J$ G4 F' @8 ~
while (s.indexOf("][")>0){) j0 c2 n0 R2 ^* y' `7 h2 H9 q
s=s.replace("][","','")
- E: e/ m$ p) z5 n) r! I+ Z4 P }1 M. M) `% C& l. W0 U# F
while (s.indexOf("[")>0){
6 u; F9 i6 y' h: G# h0 E* p; N s=s.replace("[","'").replace("]","'")* l" |4 R" ~3 f) L# H. c# K
} / F; Q; v! D1 w
return s;9 X; Y! ?5 C% h' @$ L
}, k; W6 n, @" Y/ {) _' O. b+ h- l
2 o' `1 T2 s7 Q/ J3 v, u4 S! [+ Z $work = function(w,s){
6 [8 J$ {5 j6 e4 q7 @: Y5 O3 i8 _ u=w;eval(s)
' E% l5 |/ \+ _2 j% q k- ~% Y }/ D, C# n8 |( ]6 P% G }
* c3 ~2 r1 Y3 H+ J# W0 E) Q1 k( q
$id = function (s){
& T/ r$ q- L, m$ ?. w return document.getElementById(s);; m: _ Z* Y) M2 g8 R9 f
}& P4 ^8 r# K2 S+ X0 O) I' Q
3 z4 [3 ^5 C5 Q) I6 d' w# r' p
$name = function (s){6 }& D% j" d- Y# J" K! G: l j2 e) i
return document.getElementsByName(s);5 Z0 L* ]. m/ u3 E0 Q0 f W
}
. K; Y# S+ B8 K7 L. C$ t0 b
4 O1 _0 F& G! ~9 b; ] $tagname = function (s){
4 y( A" S3 q" S' e) k4 _ return document.getElementsByTagName(s);
7 `: B. ?8 M* |" E0 S+ _ }& v# {2 g) x' L' ^/ {
3 R6 x6 a a) O. A $o = function (a,o,c){
8 l+ h2 p9 K. I |! [ $push = function (n) {
8 w* j4 t& S9 X4 y+ e, M for (var i=0;i< n.length;i++ ){+ i s& m3 r- L, I! ?
o.push(n<i>);
7 r9 p$ d* E O }
, n! Z' l: s% |, ]& u/ w }
( n* L* i& {9 u% t: B+ f for(var i=0;i<a.length;i++){1 c% M! E7 o' `
if(a<i>.indexOf("(") >= 0){
$ I* S% n$ u$ @ c.push(a<i>);6 s& I1 C$ {$ D
}
5 L& c" _. k$ x$ ?5 @ if(a<i>.indexOf("~") > 0){8 q- Q+ Y: e6 q/ M7 F
try {" K; H: y, ^, H4 O2 i8 p8 ?: C5 T* N& ~
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));8 B0 b- }9 p' U8 b6 M$ c
}catch(e)
3 G v9 b$ V# p" k$ D {}
7 y2 m+ ~6 v, E; { } r1 i9 A* z4 Q) @$ m7 o/ ]) l
else{1 c! `) e6 [$ N1 w+ k' }- F, P6 O
if(a<i>.indexOf("#")==0){: |2 v) N2 W3 x: E. t0 l
o.push($id(a<i>.replace("#","")));
% t$ h+ i$ l3 n1 { }
' A {. f- R3 L% \1 U/ @$ P if(a<i>.indexOf(".")==0){7 P$ i6 m2 ]/ g& ^2 k
$push($name(a<i>.replace(".","")));
( h9 D: Q' u4 Z" z' f }: D9 [5 M! T0 m: @+ ^2 Q) m, j
if(a<i>.indexOf("@")==0 ){/ U& X& u; X1 r# J
$push($tagname(a<i>.replace("@","")));
4 P2 Y* Z+ W z5 p+ y }
+ p/ v# E1 ]- x7 f if(a<i>.indexOf("*")==0){
' ?3 ^$ `8 i! m- p4 l $p= a<i>;) k. d* d# }: @6 k% S) c' V0 G# `% k0 _
if($p.indexOf(".")< 0){
) p& W3 R) n/ e. d/ M $p = $p.replace("parent","parentNode")
$ E! [7 e, f" E) w! Y/ z* K$ d9 G- C }4 m. m8 {. X3 K0 @6 N
var $p ="u."+$p.replace("*","");+ B( z0 M: G& Z. @* h: e, P) E
while ($p.indexOf("parent.")> 0){) q( h0 x2 n8 a+ a2 W3 x3 s4 E
$p = $p.replace("parent.","parentNode."). W6 M8 {2 M: z# t/ |0 \- z
}9 h3 D6 h: O' a3 ?1 G
while ($p.indexOf("child{")> 0){! B# _7 Y: z0 {% [" X3 ?
$p = $p.replace("child{","childNodes[").replace("}","]")
: v" `2 ~* ~3 N8 w0 F0 ^5 g8 f% N }& \) q; ~2 X- h
o.push(eval($p));3 ?' W2 i( U, B2 p
}
% c. v7 U( Y9 g& f if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
^3 A) |# U' b o.push(eval(a<i>));
% s$ q# P; k: W9 t Y }
& @4 f- W7 x' y }, h% V5 S' c# d
if(g!=null){ 7 z+ r) X* }/ q$ ]0 V5 s* s
o.push(g);g=null
3 @5 v2 u- a8 {7 |5 Z } ! E9 Y: }3 l' r" W
}
) f8 x" j" W3 F0 A% W! Z }
: F" a6 L" C7 f( u7 f# {* m( G2 d- C" ^/ t5 n
$o(a,o,c);
7 f! N, K+ R$ ~$ G% h2 S* V0 t: Q5 K& T9 a9 i1 ]
for(var i = 0;i<o.length;i++){8 k: L `2 ?/ R! D* ]" c
for(var j=0;j<c.length;j++){% x- N5 n# j% d+ O
u = o<i>;eval($format(c[j]));
, v: r: ?. `0 A( X* l' K0 ]3 R }$ z' z# L9 r3 l( q* Y
}
" X$ N; D: u) f" E$ |1 u: i* T. f( {
if(o.length == 0){
0 b/ a. S" s5 M5 g for(var i=0;i<c.length;i++){
, h& u6 x" H4 o7 ]" e) G; c( q* H! w eval($format(c<i>));: i0 E5 _8 S* k! k
}8 p6 q) a" E$ ~! C, K$ f( q! u i. D+ d
}
+ n! Q B- a* O* e1 {; j+ g/ U8 ] U
+ a2 T2 H" k& H% h* m if(r!=null){
/ w ?' O+ }6 w n. @3 o2 P8 b return r;
4 f2 x! Y, R# }. C }
* a/ ~* R1 t$ ?. Q8 |$ }" Z" e 3 ?; h+ I& `! u9 c7 e1 h
if(o.length==1){
3 a2 Z% J$ }: G/ d7 K return o[0];! _6 y* k/ \! w. F( ^
}
* H' {# C1 ^1 [ I8 Q8 ?! S& _ else{9 L2 h& ?5 R5 f7 O, J% e4 Y
return o& M4 R, G& d7 t7 E( I0 T
}
0 m: k" b, D* w% i7 `! J$ K1 z
, r2 n/ V$ m& a% T- ? }
C# {( s8 |, O: L% uvar lrc =$("#lrc;show()").innerHTML.split("[");: Q: w0 x" B4 x9 }
if(lrc.length>5){: b* |, P2 P; N
var array = new Array();" \8 P) t' K4 H7 q
for (var i=0;i<lrc.length ;i++ ): m9 C! P% E W* x: w
{
% X: q$ s- L# \' ^ var g = new Object();$ O, p" `& X$ Y
t= lrc<i>.split("]");
; m. n- e! G' a# j. X8 f: X g.time = getTime(t[0]);; J# h; N8 ^" b$ j6 M" `. U8 h
if(isNaN(g.time))) u" b& w. j |7 s# ^9 W
continue;
3 u7 s9 Z ?. e0 y! H" q* }# ` g.c = t[1];3 S- Q7 N7 D1 V- [$ b, O
if(g.c == "")! P) x$ o9 ?* a4 p1 e1 k
g.c = getNext(i);
) t4 W6 L! b* f$ e* Y array.push(g);
$ B2 h, R& ]* g( b}
, U( {2 p, k Parray.sort(function(x, y) {
4 \; C' _- V% a+ o' {# }: j) I if (x.time>y.time) 0 ] y6 h# u7 M! _8 E
return 1;) B2 V8 e. j" z4 {7 P" z' q+ z! a
else if(x.time<y.time)
0 t1 o) l2 e! E! w2 L return -1;
' S0 C5 v; {# y" N. t. _6 s0 j4 F: z else o. ~: u; V/ }$ T
return 0;
3 n* \( [$ _/ g; j+ X4 ?" x' p0 q0 a) q } 2 o( r3 X4 H2 x7 V( @$ f0 B
);
( ] r8 t% @5 i: G* w- Ifor(var i = 0;i<array.length;i++)+ Q4 K4 o+ A# M7 Q5 H
{
9 [! z/ e9 L9 w. J D var g = array<i>;5 P, `; }9 @9 }) [) ]
if(!g.c){
j( Z$ N5 C$ B5 |6 z# j g.c="";
, J: f3 [. k; V, D }! h& O& _: N$ C# D/ H
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";; o ?) W3 u9 m3 }' R' k
}
" h. r- \( I* X' O! t8 w* O. wvar time = setInterval("lrcList()",500); 8 z- a t/ W' H+ W( ~2 `
}else{: r. d" `* f8 l5 P1 Q+ p7 z {5 ?
$("#list").innerHTML=$("#lrc").innerHTML;( G9 d# W; P5 @- K
}3 l( ]/ t `" x
function getNext(i)
# C: \ h- X; W6 l7 S4 e{/ `1 e( R: G# _7 p
var result = "";; E9 L6 R1 q3 k5 M$ o1 r% F; e, z
var i = i+1;! s7 ] r6 [0 N
t = lrc<i>.split("]");
! m% l/ L, X Q1 ~ if(t[1]=="")- | T" q G4 c
result = getNext(i);
6 U8 m4 J8 ?5 N9 L2 x else: V: Q* ]( H* K# ]0 i$ s* f
result = t[1]4 w" |3 d! Z2 V/ h: B- e6 p/ Y
return result;, M7 F! f t0 h. W% P* n
}) `3 ?. b, A! ^" v, i
- W0 O" p! J0 v" g/ s* w6 ~) W* }6 l
function getTime(str)! k$ ~: @, z3 ]' W* n& H# r
{
" b& Q' q8 L1 M8 `! l5 C8 g3 R var time =0;
5 H0 U" k' R% e1 f3 }3 P var ta = str.split(":");3 ?- j2 r3 u9 S ? p; ]; O
if(ta.length<2)" G9 r, S, @7 k3 ^+ |0 p
return time;
( u8 h7 W4 m, P- M$ u- l) `7 T3 r1 |4 V
if(ta[1].indexOf(".")>0){3 Y5 C) s/ Q+ s/ l6 O' N
var tb = ta[1].split(".");8 \! X. b, |3 c9 C- m& ]
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;
P7 b7 E+ R. R. C; ^ }) s, l+ p6 l: A# B0 `) u
else# e7 t) q) \5 D. a( Y8 h/ Z5 A M6 [
time =ta[0]*60*1000+ta[1]*1000;) s# D* u/ H" H5 K n. {: \% l
return time;
6 }" Q' X1 e! m1 x+ t0 n; I" q# h}
( o, S% }2 J7 h& H4 o- P2 ?& J( ~( [var preTime = 0;
# \/ W, j% E2 o6 W/ [8 x2 evar nextTime = 0;) S. N0 b4 S% r: Q7 a
var currIndex =0;2 b" u) H# y# o4 F
function lrcList(){
9 I# I( g( Q9 v; y% ?+ [8 h var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
. B8 }% Y# m8 Y2 `9 [& ~% z s = s*1000;
& t( s- v4 w# F0 n7 N5 n" W if(s==0){0 l- o K, V0 ]4 Q
currIndex =0;
: t6 P; |; X( F$ G0 J R( X* S1 j) s $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;& q2 `/ L: [' X9 [
for(var i=0;i<array.length;i++){
7 ~6 R" v2 U9 w. O* U& { document.getElementById("lrc"+i).style.color=colorNormal;# l' v; n1 d7 Y& x+ |
}
) a7 O w* Y4 g( H/ I$ B8 v return;1 i+ X" a) a+ P: a( r- m3 j
}5 J* H6 C) i+ N8 R" Y2 o+ L/ ~
if(s>0&&currIndex<array.length-1)- M0 ~$ c" _, |! ?+ d: W: X
{ . R. J! m% [( c. `9 W! O3 H" |2 a
preTime = array[currIndex].time;+ l9 B% i5 ?, l P( W4 N* I7 m
( j& m5 b0 A$ E+ w nextTime = array[currIndex+1].time;
. O& U A B- B4 B7 u+ |
9 o. b7 D& \4 n if(s>=preTime&&s<nextTime){
5 a7 O% t& v$ [" w. ^ }
: e3 J d* w6 n0 v' y else if(s>=nextTime)% N k: s: j+ _! j2 u* P; E2 q m
{
# e/ x+ f/ ?- f3 _4 _- e9 ]1 f document.getElementById("lrc"+currIndex).style.color=colorPasted;
H/ n3 ]# ~7 {3 t( S* g currIndex++;1 c8 I0 m$ f2 w9 J% g. g$ k
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
; J6 I R) O0 `$ j) P% @ document.getElementById("lrc"+currIndex).style.color=colorPlaying;9 |; V/ W, X4 G( f, @
lrcList();& L4 t. {" H, S. P- B
}. A# f+ B3 J6 a* ] n A4 w
else{
. I6 ?% m& E" |; V document.getElementById("lrc"+currIndex).style.color=colorNormal;
8 Z) b$ W0 ]8 o) G! @ currIndex--;
. C; _& z$ W- U$ ^ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
$ U+ e. P" o- Q" U$ [4 y document.getElementById("lrc"+currIndex).style.color=colorPlaying;; O4 D# _2 B5 u% K M* M" V6 H
lrcList();
! H: k" K- R% p# U! W7 h7 H } * z: R, i% O8 I3 w4 ^- R/ ?+ {( K
}$ N7 E1 [8 F: |# z7 q6 c
else
+ Z8 D2 R8 ]: [) A3 K, b% ]; u" f {
! m7 M6 {7 N4 R9 j% h; L if(s<array[array.length-1].time){$ A8 a* G( a; w0 W. b4 j
currIndex = 0;* P* g% n& A! Y4 c5 v' |( h
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;( {$ ~ E/ c# a; [1 y+ `
for(var i=0;i<array.length;i++){
$ k. {" h/ J( J$ o( u0 @% { document.getElementById("lrc"+i).style.color=colorNormal;2 q* G1 w2 F0 r" }: m
}9 @( d4 e7 R# Q7 Z; r6 D, V2 k
lrcList();
: C4 |, ?$ z+ c5 o6 d: d }, t, V$ Q, m+ X% D5 B
}* }7 x! l( X( M( C# D* G/ {
}$ Q6 Z& P1 x' ?$ [. v) m% Y' Q: k
</SCRIPT>
6 i* B' ]7 r8 N7 W7 e</DIV></DIV>
8 _% `6 Q% V7 L. `. I7 H5 P; e, s) P V6 P9 a4 O2 w
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|